﻿/******************************************************************
** 文件名:Sys_OperatorModel.cs
** Copyright (c) 
** 创建人:佟礼
** 日 期:2012-05-25 11:26:19
** 描 述:数据库实体类
********************************************************************/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using System.ComponentModel;
namespace Enter.Mvc.Mall.Model
{
    /// <summary>
    /// 实体类Sys_OperatorModel 
    /// </summary>
    public class Sys_OperatorModel
    {
        /// <summary>
        /// Sys_Operator构造函数
        /// </summary>
        public Sys_OperatorModel()
        { }
        public enum EnumSex : byte
        {
            /// <summary>
            ///男
            /// </summary>
            [Description("男")]
            NoValid = 0,
            /// <summary>
            /// 有效
            /// </summary>
            [Description("有效")]
            Valid = 1
        }
        public enum EnumStatus : byte
        {
            /// <summary>
            /// 无效
            /// </summary>
            [Description("无效")]
            NoValid = 0,
            /// <summary>
            /// 有效
            /// </summary>
            [Description("有效")]
            Valid = 1
        }
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 登录名
        /// </summary>
        public string LoginName
        {
            get;
            set;
        }
        /// <summary>
        /// 用户姓名
        /// </summary>
        public string UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password
        {
            get;
            set;
        }
        /// <summary>
        /// 所属部门
        /// </summary>
        public string DeptID
        {
            get;
            set;
        }
        /// <summary>
        /// Email地址
        /// </summary>
        public string EMail
        {
            get;
            set;
        }
        /// <summary>
        /// 性别
        /// </summary>
        public EnumSex Sex
        {
            get;
            set;
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Mobile
        {
            get;
            set;
        }
        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address
        {
            get;
            set;
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Memo
        {
            get;
            set;
        }
        /// <summary>
        /// 所属角色
        /// </summary>
        public string RoleList
        {
            get;
            set;
        }
        /// <summary>
        /// 状态 0 无效 1 有效
        /// </summary>
        public EnumStatus Status
        {
            get;
            set;
        }
    }
}
